<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>词多多代理商平台</title>
    <include file="Index:header"/>
    <script type="text/javascript">
        $(function(){
            $(".help-side dl dd:eq(0)").addClass('cur');
        })
        $(function(){
            $("#top #topcon .nav li:eq(3)").addClass('cur');
        }) 
    </script>
    <script src="__PUBLIC__/js/main.js" type="text/javascript" charset="UTF-8"></script>
</head>

<body>
    <include file="Index:top"/>
    <div id="main">
        <include file="Suffix:left"/>
        <div id="main_right" class="container">
            <div class="title">全部后缀词</div>
            <div id="infotab" class="container mt10">
                <ul class="tb cl">
                <if condition="$_GET['type'] eq mine">
                    <li>
                        <a href="{:U('index')}">系统后缀词</a>
                    </li>
                    <li class="a">
                        <a href="{:U('index?type=mine')}">我的后缀词</a>
                    </li>
                <else/>
                    <li class="a">
                        <a href="{:U('index')}">系统后缀词</a>
                    </li>
                    <li>
                        <a href="{:U('index?type=mine')}">我的后缀词</a>
                    </li>
                </if>
                </ul>
                <table class="table ml10 mr10" cellpadding="5">
                    <tr style="border-bottom: 2px solid #eee;">
                        <th width="15%">后缀词</th>
                        <th width="15%">类型</th>
                        <th width="10%">操作</th>
                    </tr>

                    <tbody id="tbody">
                        <volist name="suffix_arr" id="vo">
                            <tr>
                                <td>{$vo['name']}</td>
                                <td>{$vo['type_name']}</td>
                                <if condition="$_GET['type'] eq mine">
                                <td>
                                    <button class="button green" id="button" onclick="del('__URL__/suffix_del',{$vo['id']});" style="height:25px;line-height: 25px;padding:0 10px">删&nbsp;&nbsp;除</button>
                                </td>
                                <else/>
                                    <td><button class="button" id="button">不能操作</button></td>                        
                                </if>
                            </tr>
                        </volist>
                    </tbody>
                </table>
                <div class="mt10">
                    <div class="page_list">
                        <div class="p_l">{$pageshow}</div>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <include file="Index:footer"/>
</body>

</html>